package com.atbun.ucenterservice.service;

import com.atbun.ucenterservice.entity.UcenterMember;
import com.atbun.ucenterservice.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-05-15
 */
public interface UcenterMemberService extends IService<UcenterMember> {
//用户登录
    String login(UcenterMember ucenterMember);
//会员注册
    boolean register(RegisterVo registerVo);
//根据openid查询数据库
    UcenterMember getByOpenid(String openid);
//统计每一天的注册人数
    Integer countRegister(String day);
}
